<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\App;
class HomeController extends Controller
{
    public  function index(Request $request) {
        $list= App::whereNull('deleted_at')->orderBy('s','desc')->simplePaginate(10000);
        return json_encode(['code'=>1,'date'=>$list->items()]);
    }
}
